﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucListQuoteDetail.ascx.cs"
    Inherits="UserControl_ucListQuoteDetail" %>
<table>
    <tr>
        <td>
            &nbsp;
            <asp:GridView ID="grdQuote" runat="server" AutoGenerateColumns="False" CssClass="grd">
                <Columns>
                    <asp:TemplateField HeaderText="Inspection Fee" HeaderStyle-Width="120px">
                        <ItemTemplate>
                            <%# Eval("InspectionFee", "{0:C}")%>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="center" Wrap="True" Font-Bold="true" Width="120px"></ItemStyle>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Amount Quoted" HeaderStyle-Width="120px">
                        <ItemTemplate>
                            <%# Eval("AmountQuoted")%>
                        </ItemTemplate>
                        <ItemStyle Width="120px" VerticalAlign="Middle" HorizontalAlign="Center"></ItemStyle>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Date Quoted" HeaderStyle-Width="150px">
                        <ItemTemplate>
                            <%# (Convert.ToDateTime(Eval("DateQuoted")).ToString("dd/MM/yyyy"))%>
                        </ItemTemplate>
                        <HeaderStyle Width="150px"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center" Width="150px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Status" HeaderStyle-Width="200px">
                        <ItemTemplate>
                            <%# Eval("QuoteStatus") %>
                        </ItemTemplate>
                        <ItemStyle Width="200px" VerticalAlign="Middle" HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="OutCome" HeaderStyle-Width="150px">
                        <ItemTemplate>
                            <%-- <%# Eval("ApprovalStatus")%>--%>
                            <asp:Label ID="lboutcome" runat="server"></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle Width="150px"></HeaderStyle>
                        <ItemStyle Width="150px" VerticalAlign="Middle" HorizontalAlign="Center" />
                    </asp:TemplateField>
                </Columns>
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <HeaderStyle CssClass="grdHeader" />
                <EditRowStyle BackColor="#2461BF" />
                <AlternatingRowStyle CssClass="grdAlternateRow" />
                <PagerSettings PageButtonCount="6" />
                <RowStyle CssClass="grdRow" />
            </asp:GridView>
        </td>
    </tr>
</table>
